Filelists

Various CLI commands can take a filelist as an argument, for example:

  • qacli project files -A | --add <filelist>
  • qacli project files -R | --remove <filelist>
  • qacli analyze -F | --files <filelist>
  • qacli sync -t BUILD_LOG
  • qacli view -F | --files <filelist>

A filelist is a text file containing a list of the pathnames specifying the files to which the command applies, with one pathname per line. The pathnames can be either relative to the current working directory or absolute.

Normally, a filelist will be encoded in the local code page for the machine (for example Code Page 850 for a typical Western Europe Windows machine, or Code Page 932 for a typical Japanese Windows machine). However, other encodings are now supported so that, for example, a filelist can now be encoded in UTF-8.

If you select a non-native encoding format, ensure that you set a BOM (Byte Order Mark), to ensure that the correct encoding is used when the filelist is processed.